/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2024-06-09     WangJing       the first version
 */
#ifndef HARDWARE_LED_H_
#define HARDWARE_LED_H_

#include "stm32f4xx_hal.h"

#define LED_NUM 1

typedef struct {

    GPIO_TypeDef* gpioPort;
    uint16_t gpioPin;

} LED_Port_t;

void led_init(void);
void led_set(uint32_t led,uint8_t state);

#endif /* HARDWARE_LED_H_ */
